package com.apps.MiniChat;

import java.io.Serializable;

public class SendObject implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private String typeSend;
	private Object objectSend;
	
	public SendObject()
	{
		typeSend = null;
		objectSend = null;
	}
	
	public SendObject(String type, Object object)
	{
		typeSend = type;
		objectSend = object;
	}
	
	public String getType()
	{
		return typeSend;
	}
	
	public Object getObject()
	{
		return objectSend;
	}
	
	public void setType(String type)
	{
		typeSend = type;
	}
	
	public void setObject(Object object)
	{
		objectSend = object;
	}
	
	public void resetObject()
	{
		typeSend = null;
		objectSend = null;
	}
}
